
// ------------------------------------------------------------------------ db --------------------------------------
import { authService, baseService } from '../index'

/**
 *
 * @param params {{name:""}}
 * @param options
 */
export function queryDealerListApi(params:any, options:any = {}) {
    return baseService('/personnel', 'get', params)
}

/**
 *
 * @param params {{id:""}}
 * @param options
 */
export function createDealerApi(params:any, options:any = {}) {
    return baseService('/personnel', 'post', params)
}

/**
 *
 */
export function updateDealerApi(params:any, options:any = {}) {
    return baseService('/personnel', 'put', params)
}


/**
 * 删除
 */
export function deleteDealerApi(params:any, options:any = {}) {
    return baseService('/personnel', 'delete', params)
}

/**
 * 删除
 */
export function queryJxsApi(params:any, options:any = {}) {
    return baseService('/personnel/treeDistributor', 'get', params)
}


